package cn.tedu.csmallproductzxj.mapper;

import cn.tedu.csmallproductzxj.pojo.entity.Picture;
import cn.tedu.csmallproductzxj.pojo.vo.PictureListVO;
import cn.tedu.csmallproductzxj.pojo.vo.PictureStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PictureMapper {
    int insertPicture(Picture picture);

    int deletePictureById(Long id);

    int count();

    PictureStandardVO getStandardById(Long id);

    List<PictureListVO> list();

    int insertBatch(List<Picture> picture);

    int deleteByIds(Long[] idList);

    int update(Picture picture);
}
